<?php
// Turn off all error reporting
//error_reporting(0);

class DAO
{
    static function connect()
    {
        $mysqli = new mysqli("localhost", "root", "1","fashion");
        if ($mysqli->connect_error)
        {
            return false;
        }
        return $mysqli;
    }
}

 ?>